{% extends 'base.html'%}
{% load i18n %} 
{% block menutab %}
<div class="menutab"><a href="/">{% trans 'All topic' %}</a></div>
<div class="menutab"><a href="/mainpage/">{% trans 'My home page' %}</a></div>
<div class="menutab currenttab"><a href="#">{% trans 'Site Messege' %}</a></div>
{% endblock %}
{% block main %}
<div id="MailTextarea">
	<div class="mail-sender">
		<div class="sender-name">
			<span>{% trans 'Send to' %} :  <a href="/member/{{ recipient.username}}">{{ recipient.get_profile.nickname}}</a></span>
		</div>
		<div class="sender-protrait">
			<a href="/member/{{ recipient.username}}">
				<img class="box-shadow small-protrait" src="{{recipient.get_profile.gen_protrait}}" width="15" height="15" />
			</a>
		</div>
	</div>

	<form method="post" action="">
		<textarea id="MailForm" name="content"></textarea>
		<div id="MailFormControl">
			<input type="submit" id="MailButton" class="button orange" value="{% trans 'Submit' %}"/>
			<div class="clearfix"></div>
		</div>
		<input type="hidden" name="mailto" value="{{user.id}}" />
	</form>
</div>
{% endblock %}